From 37016965e24a5f92798df2407db82c9cf2acbd83 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 1 May 2004 03:19:51 +0000 Subject: [PATCH] Fixed quoting in contributors query. --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index 075aa6b674..ab8c752e01 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -411,7 +411,7 @@ class Article { " FROM old, user " . " WHERE old.old_user = user.user_id " . " AND old.old_namespace = " . $title->getNamespace() . - " AND old.old_title = '" . $title->getDBkey() . "'" . + " AND old.old_title = \"" . $title->getDBkey() . "\"" . " AND old.old_user != 0 " . " AND old.old_user != " . $this->getUser() . " GROUP BY old.old_user " . -- 2.20.1